﻿@model OnlineEducation.Models.OrderViewModels.TeachingEvaluationViewModel
@{
    Layout = null;
}



<div class="modal-header">
    <h4 class="modal-title">评论</h4>
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>

<form>

    <div asp-validation-summary="ModelOnly" class="text-danger"></div>
    <input type="hidden" asp-for="Id" />
    <input type="hidden" asp-for="TeachPlanId" />
    <div class="modal-body p-4">
        <div class="row">
            <div class="col-md-12">
                <h4 class="header-title">评分</h4>
                <input type="text" id="range_15" value="@Model.Point">
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Content" class="control-label"></label>
                    <textarea asp-for="Content" class="form-control" maxlength="200" placeholder="请给当前课程一点评价吧" />
                    <span asp-validation-for="Content" class="text-danger"></span>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary waves-effect" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary waves-effect waves-light" onclick="saveEvaluation()">保存</button>
    </div>
</form>
<link href="~/assets/libs/ion-rangeslider/ion.rangeSlider.css" rel="stylesheet" type="text/css" />
<link href="~/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="~/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
<link href="~/assets/css/app.min.css" rel="stylesheet" type="text/css" />
<!-- Ion Range Slider-->
<script src="~/assets/libs/ion-rangeslider/ion.rangeSlider.min.js"></script>

<!-- Range slider init js-->
<script src="~/assets/js/range-sliders.init.js"></script>

<!-- App js -->
<script src="~/assets/js/app.min.js"></script>
<script>
    Ladda.bind('.btn-primary', { timeout: 1000 });

</script>
